a=eval(input())
b=eval(input())
print(f"{a} + {b} = {(a+b):.3f}")
print(f"{a} - {b} = {(a-b):.3f}")
print(f"{a} * {b} = {(a*b):.3f}")
print(f"{a} / {b} = {(a/b):.3f}")